package com.packtpub.mainproject2.services;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.packtpub.mainproject2.model.SongMVPOJO;

public interface SongMVDAOService {
	List<SongMVPOJO> FindByName(String songName); 
	List<SongMVPOJO> FindBySinger(String singerName); 
	List<SongMVPOJO> FindByType(String typeName);
	List<SongMVPOJO> FindByArea(String areaName);
	List<SongMVPOJO> getAllSongMV();
	@CommitAfter
	boolean AddNewSongMV(SongMVPOJO entry);
	@CommitAfter
	boolean DeleteSongMV(SongMVPOJO entry);
	@CommitAfter
	boolean UpdateSongMV(SongMVPOJO entry);
}
